import help from '../../utils/help';
import http from '../../utils/http';
enum API{
  //获取首页推荐
  homeData='/index.json?__timestamp=1630131808529',
  categoryList='/list.json?__timestamp=1630136511866&categoryId='
}


export const reqHomeData=()=>http.get<any,any>(API.homeData);
export const reqCategoryList=(categoryId:string)=>help(API.categoryList+categoryId);